package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 财务主对象 fms_main
 * 
 * @author ruoyi
 * @date 2023-12-31
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("fms_main")
public class FmsMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号，自动递增 */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 类型编号 */
    @Excel(name = "类型编号")
    private Long typeId;

    /** 金额类型，0收入，1支出  */
    @Excel(name = "金额类型")
    private Integer moneyType;
    /** 消费金额 */
    @Excel(name = "消费金额")
    private BigDecimal mainMoney;
    /**
     * 说明
     */
    @Excel(name = "说明")
    private String remark;
}
